package lab01;
import java.util.Scanner;
public class Test07 {
    public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int score = a.nextInt();
        String result="i";

        if(score>=85)
        {result="A级";}
        else if(score>=70&&score<85)
        {result="B级";}
        else if(score>=60&&score<70)
        {result="C级";}
        else if(score<60)
        {result="D级";}
        System.out.println("成绩为："+result);

    }
}
